package com.lmk;

public class Test07 {
    public static void main(String[] args) {
        double temp=0;
       double comp=0;
        int i=0;
        do {


            comp=temp*9/5.0+32;
            System.out.println("摄氏度为"+temp+"华氏度为"+comp);
            temp+=20;
            i++;

        }while (i<=10&&temp<=250);

    }
}
